package com.ph.irp.base.verifyproject.service;
import java.util.List;
import com.ph.irp.dto.DepartmentDTO;
import com.ph.irp.model.PBaseVerifyprojectDepartment;
public interface PBaseVerifyprojectDepartmentService {

	public DepartmentDTO getDepartmentById(int departmentId)throws Throwable;
	
	public void addDepartment(PBaseVerifyprojectDepartment department)throws Throwable;
	
	public void updateDepartment(PBaseVerifyprojectDepartment department)throws Throwable;
	
	public void delateDepartment(int departmentId)throws Throwable;
	
	public List<DepartmentDTO> getAllDepartment()throws Throwable;
	
	public List<DepartmentDTO> getDepartmentByName(String name)throws Throwable;
	
	public List<DepartmentDTO> getDepartmentByCode(String code)throws Throwable;
	
	public List<DepartmentDTO> getDepartmentByCodeAndName(String code,String name)throws Throwable;
	
}
